body {
    background: #2980b9;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    padding: 20px;
}

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

    .main-header h1 {
        color: #2c3e50;
        font-weight: 700;
        margin: 0;
        font-size: 2.5rem;
    }

    .main-header p {
        color: #7f8c8d;
        margin: 10px 0 0 0;
        font-size: 1.1rem;
    }

.section-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title i {
        color: #3498db;
        font-size: 1.2em;
    }

.btn-modern {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    min-width: 140px;
}

    .btn-modern:hover {
        background: linear-gradient(45deg, #2980b9, #3498db);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        color: white;
    }

.btn-danger-modern {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    min-width: 140px;
}

    .btn-danger-modern:hover {
        background: linear-gradient(45deg, #c0392b, #e74c3c);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        color: white;
    }

.form-control-modern {
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

    .form-control-modern:focus {
        border-color: #3498db;
        box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        background: white;
    }

.ace_editor {
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    margin: auto;
    height: 240px;
    width: 100%;
    transition: border-color 0.3s ease;
}

    .ace_editor:hover {
        border-color: #3498db;
    }

.label-modern {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .label-modern i {
        color: #3498db;
    }

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.status-success {
    background-color: #27ae60;
}

.status-warning {
    background-color: #f39c12;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.form-row {
    margin-bottom: 20px;
}

.token-status {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: none;
}

    .token-status.show {
        display: block;
    }

.token-status-text {
    color: #27ae60;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2rem;
    }

    .button-group {
        margin-top: 20px;
    }

    .section-card {
        padding: 20px;
    }
}
